Former2 allows you to generate IaC (ex. CloudFormation templates) from existing resources https://github.com/iann0036/former2
Everything happens in the browser (it’s a client-side web app)
Requires IAM keys with ReadOnlyAccess
The following outputs are currently supported:
CloudFormation templates
Terraform
Troposphere
CDK (Cfn Primitives) – TypeScript, Python, C#, Java
CDK for Terraform – TypeScript
Pulumi – TypeScript
Diagram – an embedded version of draw.io
A tool that automates the testing of CloudFormation templates https://github.com/aws-quickstart/taskcat
Deploys your template in multiple AWS Regions simultaneously
Generates a report with a pass/fail result for each Region
You provide
AWS Regions and the number of AZs you want to include in the test
Template parameters’ values
A tool that looks for patterns in CloudFormation templates that may indicate insecure infrastructure https://github.com/stelligent/cfn_nag
Examples:
IAM rule and Security Group rules that are too permissive (wildcards)
Access logs and Encryption that aren’t enabled
Password literals
Summarizes the usage of !Ref and !GetAtt with CloudFormation resources https://theburningmonk.com/cloudformation-ref-and-getatt-cheatsheet/
A tool that converts CloudFormation templates between JSON and YAML formats https://github.com/awslabs/aws-cfn-template-flip
A tool to visualize CloudFormation/SAM/CDK templates as diagrams https://github.com/mhlabs/cfn-diagram
Generates https://draw.io and HTML diagrams
Select only the resources you want (filter by resource type/name)
Different layouts
Supports JSON and YAML
A tool that reads a CloudFormation template and outputs a cleanly-formatted copy adhering to CloudFormation standards https://github.com/awslabs/aws-cloudformation-template-formatter
Reference list for open-source projects related to CloudFormation: https://github.com/aws-cloudformation/awesome-cloudformation